class CreateEvents < ActiveRecord::Migration
  def self.up
    create_table :events do |t|
      t.column :name, :string
    end
    [_("Birth celebration"), _("Congratulation on inside"), _("Return to Birth celebration"), _("Birth day"), _("Christmas"), _("Entrance celebration"), _("3 years Festival"), _("5 years Festival"), _("7 years Festival"), _("New year's present"), _("Other gift")].each do |n|
      Event.create :name => n
    end
  end

  def self.down
    drop_table :events
  end
end
